<div class="list_add"><a href="<?php echo $this->url(array('controller'=>'member', 
	'action' => 'addtype'));?>"><?php echo $this->translate($this->escape("Add new user type"))?></a>
</div>
<table>
	<tr>
		<th><?php echo $this->translate("Type name")?></th>
		<th><?php echo $this->translate("Access level")?></th>
		<th>&nbsp;</th>
	</tr>
	<?php foreach($this->types as $type) : ?>
	<tr>
		<td><?php echo $this->escape($type->type_name);?></td>
		<td><?php echo $this->escape($type->access_level);?></td>
		<td>
			<a href="<?php echo $this->url(array('controller' => 'member', 
				'action' => 'edittype', 'id'=>$type->id));?>"><?php echo $this->translate("Edit");?></a>
			<a href="<?php echo $this->url(array('controller' => 'member', 
				'action' => 'deletetype', 'id'=>$type->id));?>"><?php echo $this->translate("Delete");?></a>
		</td>
	</tr>
	<?php endforeach;?>
</table>